﻿<%@ Page Title="Url Detail" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Steve.UI.Administration.Models.NewSiteUrlDetailModel>" %>

<asp:Content ContentPlaceHolderID="BreadCrumbContent" runat="server">
	<li><a href="/UrlManagement/SiteExplorer">Url Management</a></li>
</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
	<% using (Html.BeginForm())
	   { %>

	   <div class="toolbar">
   <button type="submit">Save</button>
   <a href="<%: Model.Url %>" class="external-link-button" target="_blank">Go to Url</a>
   </div>

    <%: Html.ValidationSummary(string.Empty, new { @class="ui-widget ui-state-error ui-corner-all" })%>
    <%: Html.EditorFor(m => m.NextRevisionComment) %>

       <div class="accordion">
        <h2><a>Basic Details</a></h2>
        <div>
	   <fieldset>
       <%: Html.LabelEditorFor(m => m.Url, true) %>
       <%: Html.LabelEditorFor(m => m.Start) %>
       <%: Html.LabelEditorFor(m => m.End) %>
	   </fieldset>
       </div>
       </div>
       
	<% } %>
</asp:Content>

<asp:Content ContentPlaceHolderID="ScriptContent" runat="server">
<script type="text/javascript">
	$('#test-focus').focus();
</script>
</asp:Content>
